<template>
	<view>
		<view class="navbar">
			<uni-nav-bar left-icon="back" backgroundColor="#C52B2E"  color="#FFFFFF" title="推送设置" @clickLeft = "back">
			</uni-nav-bar>
		</view>
		<view class="" style="padding-top: 76rpx;">
			<view class="newNews">
				<view class="" style="padding-left: 25rpx;">精彩内容推送消息</view>
				<switch checked  style="padding-right: 25rpx;" color="#C52B2E" @change="switch1Change"/>
			</view>
			<view class="newNews">
				<view class="" style="padding-left: 25rpx;">推送评论消息</view>
				<switch checked  style="padding-right: 25rpx;" color="#C52B2E"/>
			</view>
			<view class="newNews">
				<view class="" style="padding-left: 25rpx;">推送私信消息</view>
				<switch checked  style="padding-right: 25rpx;" color="#C52B2E"/>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			back(){
				uni.navigateTo({
					url:'../setup/setup'
				})
			},
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #EEEEEE;
	}
	.newNews {
		width: 100%;
		height: 120rpx;
		background-color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 10rpx;
	}

</style>
